onconnect=async event=>{
	console.log(event)
	event.ports[0].onmessage=ev=>{
		console.log(222)
		let res=new Array(10000).fill(Math.random()).join(",");
		let {id,name}=ev.data;
		if(name && self[name]){
			if(name=='close'){
				event.ports[0].close();
				return;
			}
			let data=JSON.stringify({data:res,time:Date.now(),id});
			//let msg=await new Blob([data]).arrayBuffer();
			event.ports[0].postMessage(data)
			data=null;
		}
	}
	
}
	
function abc(){
	return ;
}